﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="selectmodulelink.aspx.cs" Inherits="MxWeiXinPF.Web.admin.dialog.selectmodulelink" %>

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <title>选择图片</title>
<%=PageJSAndStype("list").ToString() %>


    <script type="text/javascript">


        var api = top.dialog.get(window); //获取父窗体对象


        $(function () {

            //设置按钮及事件
            api.button([{
                value: '确定',
                callback: function () {
                    selectedIco();
                    return false;

                },
                autofocus: true
            }, {
                value: '取消',
                callback: function () { }
            }
            ]);
        });

        function selectedIco() {

            var selectmodulrvalue = $(".lbl_modulerad").children(".lblUrl").attr("title");

            if (selectmodulrvalue == "") {
                top.dialog({
                    title: '提示',
                    content: '请选择链接！',
                    okValue: '确定',
                    ok: function () { }
                }).showModal(api);
                return false;
            }


            api.close(selectmodulrvalue).remove();
        }


    </script>
</head>
<body>
    <form id="form1" runat="server">

        <div class="div-content">
            <dl>
                <dt>选择：</dt>
                <dd>
                    <div class="rule-single-select">
                        <asp:DropDownList ID="ddlModule" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlModule_SelectedIndexChanged"></asp:DropDownList>
                    </div>

                </dd>
            </dl>
            <dl>
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="ltable">
                    <tbody class="ltbody">
                        <asp:Literal ID="litModulelistStr" runat="server" EnableViewState="false"></asp:Literal>
                    </tbody>
                </table>

            </dl>

        </div>
    </form>
</body>
</html>

